//
//  XMBaseSettingItem.h
//  XMWeibo
//
//  Created by chi on 14-9-1.
//  Copyright (c) 2014年 xiaoming. All rights reserved.
//
//  设置cell的模型
//
#import <Foundation/Foundation.h>

typedef void(^cellBlock)();

@interface XMBaseSettingItem : NSObject

/** 存档用的key */
@property (copy, nonatomic) NSString *key;

/** cell cion */
@property (nonatomic, copy) NSString *icon;

/** cell title */
@property (nonatomic, copy) NSString *title;

/** cell sub title */
@property (nonatomic, copy) NSString *subtitle;

/** cell 提示文本 */
@property (nonatomic, copy) NSString *badgeValue;

/** 选中cell执行的block */
@property (nonatomic, copy) cellBlock operationBlock;

#pragma mark - 类工厂方法

+ (instancetype)cellItemWithTitle:(NSString*)title subTitle:(NSString*)subTitle icon:(NSString*)icon;

@end
